#ifndef LEDMODUL_H
 #define LEDMODUL_H

//Interne Header
#include "main.h"
#include "init_port.h"
#include "init_interrupt.h"




#define ledx 80
#define ledy 32

extern uint8_t volatile dataled[ledx][ledy];
extern uint8_t volatile spalte,zeile;

//Blinkgeschwindigkeit
#define b_speed 100

//Funktionsprototypen
ISR(TIMER0_OVF_vect);
void resync_ledmodul();
void clear_ledmodul();
void power_ledmodul(uint8_t on);
void test_ledmodul();
void fill_y(uint8_t column, uint8_t white, uint8_t color);
void fill_x(uint8_t startx, uint8_t starty, uint8_t height, uint8_t white, uint8_t color);
void status_line();
void display_blink(uint8_t on);
void state_quad(uint8_t color);
void battery_low();

#endif
